#include "Player.h"


void Player::SetPlayerIndex(int index)
{
	if (index > 0 && index < 5)
	{
		Player::playerIndex = index;
	}
}

void Player::ChangeState(State newState)
{
	currentState.Exit();

	currentState = newState;

	currentState.Enter();
}